package com.cupk.service;

import com.cupk.pojo.Record;
import com.cupk.pojo.Result;
import com.cupk.pojo.Student;

import java.util.List;
import java.util.Map;

public interface RecordService {
    Record dealResult(Record m);

    void addRecord(Record l);

    List<Record> getPreparingList(Integer stageId);

    List<Record> getFinishList(Integer stageId);

    void PushMessage(String accessToken, String openId, String stageName, String userName, Integer status, String comment);

    Record getRecordById(Integer id);

    void acceptRecord(Integer stageId, String comment, Integer stuId);

    void rejectRecord(Integer stageId, String comment, Integer stuId);

    List<Record> getCommentList(Integer stageId, Integer userId);

    List<Record> getDetailList(Integer stageId, Integer stuId);

    void acceptRecordByTransaction(Integer id, String res);

    List<Map<String,Object>> getAllInfoByStage(Integer id,Integer status);

    List<Map<String,Object>> divideMinute(Integer matchId);

    List<Map<String, Object>> divideGroupByMajorAndGrade(Integer matchId);

    List<Map<String, Object>> divideGroupByGrade(Integer matchId);
}
